import axios from "axios";

export const fetchData = () => {
  const config = useRuntimeConfig();
  axios.defaults.baseURL = config.public.baseApiUrl;

  return {
    axios,
  };
};
